-
Notifications
You must be signed in to change notification settings - Fork 0
test cruise types #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Expand automated testing suite to test multiple cruise types instead of just "ar77". The changes parametrize existing test functions to iterate through five different cruise types: "ar77", "en617", "hrs2303", "ae2426", and "at46".
- Add cruise type arrays and expected data counts for each cruise
- Convert hardcoded single-cruise tests to parameterized multi-cruise tests
- Add wrapper functions to execute tests across all cruise types
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 11 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/underway.js | Parameterized underway data tests for multiple cruises with expected counts and time ranges |
| tests/nut.js | Added multi-cruise support for nutrient data testing |
| tests/niskin.js | Converted niskin bottle tests to run across all cruise types |
| tests/metadata.js | Parameterized metadata tests with cruise-specific expected line counts |
| tests/hplc.js | Added multi-cruise testing for HPLC data |
| tests/event.js | Expanded event testing to cover all cruise types with specific R2R event IDs |
| tests/chl.js | Parameterized chlorophyll data tests for multiple cruises |
| tests/cast.js | Added multi-cruise support for CTD cast operations and special handling for ae2426 |
| tests/bottle.js | Converted bottle data tests to support multiple cruise types |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
Add these cruise types to the Automated Testing suite:
cruises = ["ar77", "en617", "hrs2303", "ae2426", "at46"]